<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>桂林航空VPN密码自助修改</title>
  
  <link rel="stylesheet" href="layui/css/layui.css">
</head>
<body>
<style>
.demo-reg-container{width: 320px; margin: 21px auto 0;}
.demo-reg-other .layui-icon{position: relative; display: inline-block; margin: 0 2px; top: 2px; font-size: 26px;}
</style>
<form class="layui-form" style="margin:150px">
<div align="center" >
    <div class="check-div form-inline">
    <div class="form-group" style="color:#555555">
        <label style="font-size: 30px;">桂林航空VPN密码自助修改</label>
    </div>
    </div>
</div>
  <div class="demo-reg-container">
  <div class="layui-form-item">
      <div class="layui-input-wrap">
        <div class="layui-input-prefix">
          <i class="layui-icon layui-icon-username"></i>
        </div>
        <input type="text" id="username" name="username" value="" lay-verify="required" placeholder="用户名" autocomplete="off" class="layui-input" lay-affix="clear"
		required onblur ="getPhoneNumberFromOA(this.value)" onkeydown="if (event.keyCode == 13) fetchPhoneNumber(this.value)">
      </div>
    </div>
    <div class="layui-form-item">
      <div class="layui-row">
        <div class="layui-col-xs7">
          <div class="layui-input-wrap">
            <div class="layui-input-prefix">
              <i class="layui-icon layui-icon-cellphone"></i>
            </div>
            <input type="text" id="phone" name="phone" value="" placeholder="手机号" autocomplete="off" class="layui-input" readonly>
          </div>
        </div>
        <div class="layui-col-xs5">
          <div style="margin-left: 11px;">
            <button type="button" class="layui-btn layui-btn-fluid layui-btn-primary" id="send" onclick="sendVerificationCode()">获取验证码</button>
          </div>
        </div>
      </div>
    </div>
    <div class="layui-form-item">
      <div class="layui-input-wrap">
        <div class="layui-input-prefix">
          <i class="layui-icon layui-icon-vercode"></i>
        </div>
        <input type="text" id="captcha" name="captcha" value="" placeholder="验证码" lay-reqtext="请填写验证码" autocomplete="off" class="layui-input">
      </div>
    </div>
    <div class="layui-form-item">
      <div class="layui-input-wrap">
        <div class="layui-input-prefix">
          <i class="layui-icon layui-icon-password"></i>
        </div>
        <input type="password" name="newPassword" value="" lay-verify="required" placeholder="密码" autocomplete="off" class="layui-input" id="newPassword" lay-affix="eye">
      </div>
    </div>
    <div class="layui-form-item">
      <div class="layui-input-wrap">
        <div class="layui-input-prefix">
          <i class="layui-icon layui-icon-password"></i>
        </div>
        <input type="password" name="confirmNewPassword" value="" lay-verify="required|confirmNewPassword" placeholder="确认密码" autocomplete="off" class="layui-input" lay-affix="eye">
      </div>
    </div>
    
    <div class="layui-form-item">
     <button class="layui-btn layui-btn-fluid" lay-submit lay-filter="demo-reg">提交修改</button>
    </div>
  </div>
</form>
  
<script src="layui/layui.js"></script>
<script src ="changePWD.js"></script>
<script>

</script>
</body>
</html>